@import '../../../var';
.headerTitle {
    color: $title-color;
    font-weight: bold;
    font-size: 36rpx;
}

.logo {
    height: 60%;
}

.swiper {
    height: calc(100% - 60rpx);
    overflow: hidden;
    .swiper-item {
        height: 100%;
    }
}

.need-auth {
    width: 100%;
    padding: 40% 0;
    color: $info-color;
    text-align: center;
}

page {
    width: 100%;
    height: 100%;
}

.container {
    width: 100%;
    height: 100%;
}

.nav {
    position: fixed;
    left: 30rpx;
    z-index: 99;
    width: 690rpx;
    line-height: 48rpx;
    white-space: nowrap;
    background: white;
    padding-top: 20rpx;
}

.nav-item {
    display: inline-block;
    height: 48rpx;
    margin-right: 20rpx;
    color: $title-color;
    font-size: 24rpx;
    text-align: center;
    font-weight: 600;
    .itemBox {
        position: relative;
        .item-title {
            position: relative;
            z-index: 2;
            padding: 0rpx 10rpx;
        }
        .item-content-acitve {
            background-color: $primary-color;
        }
        .item-content {
            position: absolute;
            bottom: 5rpx;
            width: 100%;
            height: 15rpx;
            border-radius: 15rpx;
        }
    }
}

// .nav-item.active {
//   font-weight: 700;
// }
.tab-box {
    box-sizing: border-box;
    height: 100%;
}

.tab-content {
    .blockBox {
        height: 45rpx;
    }
    .noProduct {
        display: flex;
        align-items: center;
        justify-content: center;
        height: 100%;
    }
    .tab-content-box {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
        width: 100%;
        height: 95%;
        // padding: 0 31rpx;
        box-sizing: border-box;
        padding-top: 30rpx;
        box-sizing: border-box;
         ::-webkit-scrollbar {
            width: 0;
            height: 0;
            color: transparent;
            display: none;
        }
        .tab-content-box-inner {
            padding: 0 31rpx;
        }
        .productList {
            display: inline-block;
            width: 330rpx;
            margin-bottom: 24rpx;
            overflow: hidden;
            background: rgba(255, 255, 255, 1);
            .imgBox {
                width: 328rpx;
                height: 328rpx;
                margin: auto;
                image {
                    width: 100%;
                    height: 100%;
                }
            }
            .title {
                box-sizing: border-box;
                width: 284rpx;
                height: 62rpx;
                margin: 24rpx 0rpx 0rpx 20rpx;
                overflow: hidden;
                color: $title-color;
                font-weight: 500;
                font-size: 28rpx;
                line-height: 32rpx;
            }
            .price {
                width: 284rpx;
                height: 25rpx;
                margin: 20rpx 0rpx 0rpx 20rpx;
                color: $price-color;
                font-weight: 700;
                font-size: 30rpx;
                line-height: 30rpx;
                .priceTitile {
                    color: $price-color;
                    font-weight: 700;
                    font-size: 30rpx;
                }
                .free {
                    color: $info-color;
                    font-size: 30rpx;
                }
                .scoreBox {
                    display: inline;
                }
                .add {
                    font-weight: 700;
                    font-size: 30rpx;
                }
                text {
                    color: $info-color;
                    font-weight: 500;
                    font-size: 22rpx;
                }
            }
            .oldPrice {
                width: 284rpx;
                height: 19rpx;
                margin: 18rpx 0rpx 0rpx 20rpx;
                color: rgba(204, 204, 204, 1);
                font-size: 20rpx;
            }
        }
        .productList:nth-child(2n) {
            margin-left: 28rpx;
        }
    }
}

::-webkit-scrollbar {
    width: 0;
    height: 0;
    color: transparent;
}

.search {
    position: fixed;
    z-index: 99;
    display: flex;
    align-items: center;
    width: 100%;
    height: 70rpx;
    padding: 0 30rpx 10rpx;
    background-color: #fff;
    &-button {
        display: flex;
        flex: 1;
    }
    .publish {
        margin-left: 20rpx;
        color: #1a1a1a;
        font-size: 26rpx;
        border: 1px solid #CCCCCC;
        opacity: 1;
        border-radius: 8px;
        background: #fff;
    }
}